cbuffer Setting
{
	float4x4 sWorldViewProj;
};

struct VERTEXIN
{
	float3 pos : POSITION;
	float4 color : COLOR;
};

struct VERTEXOUT
{
	float4 pos : SV_POSITION;
	float4 color : COLOR;
};

VERTEXOUT VS(VERTEXIN i)
{
	VERTEXOUT o;

	o.pos = mul(float4(i.pos, 1.0f), sWorldViewProj);
	o.color = i.color;

	return o;
}

float4 PS(VERTEXOUT pin) : SV_Target
{
	return pin.color;
}

